<!DOCTYPE HTML>
<html>
<head>
</head>
<script>
function run() {
  screen.orientation.lock('portrait-secondary').then(function() {
    document.location.hash = '#success';
  }, function(e) {
    document.location.hash = '#' + e.name;
  });
}
</script>
<body>
  <div>Starting...</div>
</body>
</html>
